package books;

import util.Entity;
import builders.PublisherBuilder;

/**
 * Publisher.
 */
public class Publisher extends Entity {
    private static final long serialVersionUID = 1L;

    private String name;

    public Publisher() {
        super();
        this.name = "";
        // constructor vacio
    }

    public Publisher(final String aName) {
        super();
        this.name = aName;
    }

    public Publisher(final PublisherBuilder builder) {
        super();
        this.name = builder.getName();
    }

    public String getName() {
        return this.name;
    }

    public void setName(final String aName) {
        this.name = aName;
    }

}
